-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit proxy's memory from TiFlash's side #408
Limit proxy's memory from TiFlash's side #408
Conversation
Signed-off-by: Calvin Neo <[email protected]>
/retest |
/hold for tiflash pr |
Signed-off-by: Calvin Neo <[email protected]>
Signed-off-by: Calvin Neo <[email protected]>
/retest |
@@ -281,6 +281,18 @@ pub unsafe fn run_proxy( | |||
.help("Set engine role label") | |||
.takes_value(true), | |||
) | |||
.arg( | |||
Arg::with_name("memory-limit-size") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or _bytes? Seems that in proxy they don't append bytes as a suffix here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think "memory-limit-size" is OK. TiKV usually use "-size" for the config item in bytes
https://docs.pingcap.com/tidb/stable/tikv-configuration-file#blob-cache-size
[LGTM Timeline notifier]Timeline:
|
/hold memory limit high water ratio to 0.9 |
Signed-off-by: Calvin Neo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: JaySon-Huang, JinheLin The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Calvin Neo <[email protected]>
Signed-off-by: Calvin Neo <[email protected]>
/unhold |
@CalvinNeo: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This PR has changed the config.rs file, however, it is not a modification that affects the user or related to compatibilities:
|
/cherry-pick raftstore-proxy-8.5 |
@CalvinNeo: new pull request created to branch In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/cherry-pick raftstore-proxy-8.1 |
@CalvinNeo: new pull request created to branch In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
Signed-off-by: Calvin Neo <[email protected]> Co-authored-by: Calvin Neo <[email protected]>
What is changed and how it works?
Issue Number: Close tiflash#9745
What's Changed:
Related changes
pingcap/docs
/pingcap/docs-cn
:Check List
Tests
Side effects
Release note